import Vue from 'vue'
import VueRouter from 'vue-router'
import newsRoutes from './modules/newsRoutes'
import goodsRoutes from './modules/goodsRoutes'
Vue.use(VueRouter)

const routes = [
  ...newsRoutes,
  ...goodsRoutes
]

const router = new VueRouter({
  routes
})

export default router
